home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gMenuList, gMenuButton, gMenuExit, menuAudio, gPlaySound, audioPath
- repeat with X = 30 to 35
- menuObj = getaProp(gMenuList, X)
- Inscope(menuObj)
- end repeat
- Inscope(gMenuButton)
- Inscope(gMenuExit)
- if gPlaySound then
- if menuAudio = "none" then
- gPlaySound = 0
- else
- sound playFile 1, audioPath & menuAudio & ".AIF"
- gPlaySound = 0
- end if
- end if
- if (menuAudio = "1000") and not soundBusy(1) then
- menuAudio = "none"
- go("Welcome")
- end if
- repeat with rc in gMenuList
- doRollover(rc)
- end repeat
- doRollover(gMenuButton)
- doRollover(gMenuExit)
- go(the frame)
- end
-